package com.pm.project.mapper;

import com.alibaba.fastjson2.JSONObject;
import com.github.yulichang.base.MPJBaseMapper;

import com.pm.project.domain.ProjectList;
import com.pm.project.domain.vo.OverdueTaskListVO;
import com.pm.project.domain.vo.ProjectListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目 Mapper 接口
 * </p>

 */
@Mapper
public interface ProjectListMapper extends MPJBaseMapper<ProjectList> {


    List<ProjectListVO> setupList(ProjectList projectList);

    List<JSONObject> queryMilestone(ProjectList projectList);

    List<JSONObject> queryProgress(ProjectList projectList);

    List<ProjectListVO> queryProjectListNoBug(ProjectList projectList);

    List<JSONObject> queryTaskIndex(@Param("projectListNodeMemberId") Long projectListNodeMemberId);

    void addLog(JSONObject param);

    List<JSONObject> listLog(Long projectList);

    List<JSONObject> queryOverdueTask();

    List<OverdueTaskListVO> queryOverdueList();
}
